package com.lebang.medicalInquiry.mapper;

import com.lebang.medicalInquiry.model.po.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

    Order getByOrderNo(String orderNo);

    Integer countBySheetIdAndPayTypeAndStatus(@Param("sheetId") Integer sheetId,@Param("payType") String payType,@Param("status") String status);
}